#pragma once
#include<iostream>
#include<vector>

typedef void(*task_t)();

void task1()
{
    std::cout<<"这是一个日志任务"<<std::endl;
}


void task2()
{
    std::cout<<"刷新野怪"<<std::endl;
}
void task3()
{
    std::cout<<"恢复蓝条"<<std::endl;
}
void task4()
{
    std::cout<<"检查是否需要更新"<<std::endl;
}

void LoadTask(std::vector<task_t>*tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}